home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2004-02-21 | 1.1 KB | 46 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH 1"="Network\RAS & DUN"
- "UIPATH 2"="Startup/Shutdown\Startup\Windows NT/2K/XP\31) Inside Login Window"
- "NAME"="Login Window: Dial-up Checkbox"
- "VERSION"="1.10"
- "LANGUAGE"="VBScript"
- "OSVERSION"="0101011"
- "TEXT 1"="Always activate "Logon using Dial-up connection""
- "DESCRIPTION 1"="Activate this setting to have the dial-up checkbox automatically activated in your login window."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="Thanks to CptSiskoX for his help!"
- "COMMENT 2"="Thanks to Quitch for the text correction!"
-
-
- v4="HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\RasForce"
-
- Sub Plugin_Initialize
- i=RegReadValue(v4)
- if i=1 then SetUIElement 1,true
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- b=GetUIElement(1)
- if b=true then
- Call RegWriteValue(v4,"1",1)
- else
- Call RegWriteValue(v4,"0",1)
- end if
-
-
- Call Logoff
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-